<?php

class Catalogue_Table_Category extends Workset_Db_Table {

	protected $_name = 't_category';

    protected $_primary = 'id';

    protected $_rowClass = 'Catalogue_Row_Category';

    protected $_referenceMap = array(
        'parent' => array(
            'columns' 		=> 'parent_id',
            'refTableClass' => 'Catalogue_Table_Category',
            'refColumns' 	=> 'id'
        )
    );

    protected $_dependentTables = array(
        'Catalogue_Table_Object',
        'Catalogue_Table_Category_Attribute',
    );

}

?>